package com.guigu.tms.oms.mapper;

import com.guigu.tms.commons.order.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author zwj
 * @since 2022-09-27
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    List<Order> selectOrders(Order order);
    int updateOrderStatus(@Param("orderId") String orderId, @Param("status") Integer status);
}
